<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">
      
<ui:composition template="templates/commonTemplate.xhtml">
  <ui:define name="title">Authentication</ui:define>
  <ui:define name="header">
    Authentication
  </ui:define>
  <ui:define name="content">
    <h:messages />
    <h:form id="form">
      Login:<h:inputText value="#{authentication.login}" /> <br/>
      Password:<h:inputSecret value="#{authentication.password}" /> <br/>
      <h:commandButton value="Connect" action="#{authentication.connect}" />
      <h:commandButton value="Suscribe" action="#{authentication.suscribe}" />
    </h:form>
  </ui:define>
</ui:composition>

</html>